import {
	HTTP
} from '../utils/http.js'
let http = new HTTP()

/* 
	@desc 获取合作入驻详情
 */
export const GetBusinessApplyDetail = (data) => {
	return http.request({
		url: 'API/Business/BusinessApplyDetail',
		method: 'Post',
		data
	})
}

/* 
	@desc 提交合作入驻
 */
export const getBusinessApplyUpload = (data) => {
	return http.request({
		url: 'API/Business/BusinessApplyUpload',
		method: 'POST',
		data
	})
}

/* 
	@desc 首页人流量
 */
export const getTouristLatestCount = (data) => {
	return http.request({
		url: 'API/DataStatistics/GetTouristLatestCount',
		method: 'POST',
		data
	})
}

/* 
	@desc 获取个人信息
 */
export const getThisDetail = (data) => {
	return http.request({
		url: 'API/Users/ThisDetail',
		method: 'POST',
		data
	})
}

/* 
	@desc 修改个人信息
 */
export const getUserinfoModify = (data) => {
	return http.request({
		url: 'API/Users/UserinfoModify',
		method: 'POST',
		data
	})
}

/* 
	@desc 获取停车场列表信息
 */
export const getParkadeGetInfo = (data) => {
	return http.request({
		url: 'API/DataStatistics/Parkade_GetInfo',
		method: 'POST',
		data
	})
}

/* 
	@desc 获取当前用户签到信息
 */
export const getUserSignIn = (data) => {
	return http.request({
		url: 'API/Users/UserSignInInfoGet',
		method: 'POST',
		data
	})
}

/* 
	@desc 提交当前签到信息
 */
export const getUserSignInPost = (data) => {
	return http.request({
		url: 'API/Users/UserSignIn',
		method: 'POST',
		data
	})
}

//获取游览路线
export const getArticleCategoryListYLLX = (data) => {
	return http.request({
		url: 'API/GuideRoute/GetGuideRouteList',
		method: 'POST',
		data
	})
}

//获取七天人流量
export const getMonthAll = (data) => {
	return http.request({
		url: 'API/DataStatistics/GetTouristLatestSevdata',
		method: 'POST',
		data
	})
}

//全局搜索
export const GetGlobalSerchList = (data) => {
	return http.request({
		url: 'API/Article/GetGlobalSerchList',
		method: 'POST',
		data
	})
}

//监听收听人员
export const GetAdtGuideRecordAdd = (data) => {
	return http.request({
		url: 'API/GuideRoute/AdtGuideRecordAdd',
		method: 'POST',
		data
	})
}
